from applications.extensions import db

from datetime import datetime

# class CustomerUser(db.Model):
#     """Basic user model"""
#     id = db.Column(db.Integer, primary_key=True)
#     username = db.Column(db.String(255), unique=True, nullable=False)
#     email = db.Column(db.String(255), unique=True, nullable=False)
#     phone = db.Column(db.String(255), unique=True, nullable=False)
#     app_id = db.Column(db.String(255), unique=True, nullable=False)
#     app_key = db.Column(db.String(255), unique=True, nullable=False)
#     amount = db.Column(db.BigInteger, comment="余额")
#     active = db.Column(db.Boolean, default=True)
#     create_time = db.Column(db.DateTime, default=datetime.now(), comment='创建时间')
#     update_time = db.Column(db.DateTime, default=datetime.now(), onupdate=datetime.now(), comment='更新时间')
